package com.sugar.follow.up.module.business.service.followupquestionrecord;

import java.util.*;
import javax.validation.*;
import com.sugar.follow.up.module.business.controller.admin.followupquestionrecord.vo.*;
import com.sugar.follow.up.module.business.dal.dataobject.followupquestionrecord.FollowUpQuestionRecordDO;
import com.sugar.follow.up.framework.common.pojo.PageResult;
import com.sugar.follow.up.framework.common.pojo.PageParam;

/**
 * 随访发起答题记录 Service 接口
 *
 * @author Ysugar
 */
public interface FollowUpQuestionRecordService {

    /**
     * 创建随访发起答题记录
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createFollowUpQuestionRecord(@Valid FollowUpQuestionRecordSaveReqVO createReqVO);

    /**
     * 更新随访发起答题记录
     *
     * @param updateReqVO 更新信息
     */
    void updateFollowUpQuestionRecord(@Valid FollowUpQuestionRecordSaveReqVO updateReqVO);

    /**
     * 删除随访发起答题记录
     *
     * @param id 编号
     */
    void deleteFollowUpQuestionRecord(Long id);

    /**
    * 批量删除随访发起答题记录
    *
    * @param ids 编号
    */
    void deleteFollowUpQuestionRecordListByIds(List<Long> ids);

    /**
     * 获得随访发起答题记录
     *
     * @param id 编号
     * @return 随访发起答题记录
     */
    FollowUpQuestionRecordDO getFollowUpQuestionRecord(Long id);

    /**
     * 获得随访发起答题记录分页
     *
     * @param pageReqVO 分页查询
     * @return 随访发起答题记录分页
     */
    PageResult<FollowUpQuestionRecordDO> getFollowUpQuestionRecordPage(FollowUpQuestionRecordPageReqVO pageReqVO);

}